using System;
using System.Collections.Generic;
using System.Text;

namespace Index
{
    public class Path
    {
        public static string GetDictionaryFilePath(string index_directory)
        {
            return index_directory + "/dict";
        }

        public static string GetTempFilePath(string index_directory)
        {
            return index_directory + "/temporary";
        }

        public static string GetTempSortedFilePath(string index_directory)
        {
            return index_directory + "/temporary.sorted";
        }

        public static string GetDocumentMappingFilePath(string index_directory)
        {
            return index_directory + "/document.mapping";
        }

        public static string GetTermMappingFilePath(string index_directory)
        {
            return index_directory + "/terms.mapping";
        }

        public static string GetConfigFilePath(string index_directory)
        {
            return index_directory + "/index.config";
        }

        public static string GetIndexFilePath(string index_directory)
        {
            return index_directory + "/index";
        }


        public static string GetDocumentAbsoluteUrl(string wiki_dir, string doc_url)
        {
            return wiki_dir + doc_url;
        }
    }
}
